# _*_ coding: utf-8 _*_
from odoo import models, fields


class PurchaseOrderLine(models.Model):
    _inherit = "purchase.order.line"

    note = fields.Text(string="Note")
    request_order_line_id = fields.Many2one("purchase.request.order.line", string="Purchase Request Line")
    request_order_id = fields.Many2one("purchase.request.order",related="request_order_line_id.order_id",
                                    string="Request Order")